package com.itheima.stock.service;

import com.itheima.stock.vo.req.LoginReqVo;
import com.itheima.stock.vo.resp.CaptchaRespVo;
import com.itheima.stock.vo.resp.LoginRespVo;
import com.itheima.stock.vo.resp.R;

/**
 * @ClassName UserService
 * @Author Carithly
 * @Description
 * @Date 2022/10/13 10:08
 * @Version 1.0.0
 */
public interface UserService {
    /**
     * 登录
     *
     * @param loginReqVo
     * @return
     */
    R<LoginRespVo> login(LoginReqVo loginReqVo);

    /**
     * 生成验证码
     * @return
     */
    R<CaptchaRespVo> generateCaptcha();
}
